package com.coinland.study.view.download;

import okhttp3.ResponseBody;
import rx.Observable;

/**
 * 类描述:
 * 创建人:  shenZ
 * 创建时间: 2020/4/13
 * 联系方式: 252079249@qq.com
 * 修改时间: 2020/4/13
 */
public class DownloadModel implements DownloadContract.Model{
    @Override
    public Observable<ResponseBody> download(String url, JsDownloadListener listener) {

        return new DownloadClient(listener).getApi().download(url);
    }
}
